package com.deli.elasticsearch;

import com.deli.elasticsearch.entity.Book;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @Auther: xudeli
 * @Date: 2018/9/28/028 12
 * @Description:
 */
public interface TestRepository extends ElasticsearchRepository<Book,Integer> {

    public List<Book> findByBookNameLike(String bookName);
}
